package com.example.tomatotodo.model;

public class TodoConstants {
    // 待办事项类型
    /**
     * 番茄钟
     */
    public static final String TYPE_POMODORO = "POMODORO";
    /**
     * 定目标
     */
    public static final String TYPE_GOAL = "GOAL";

    // 计时模式
    /**
     * 计时模式: 倒计时
     */
    public static final String TIMER_MODE_COUNTDOWN = "COUNTDOWN";
    /**
     * 计时模式: 正向计时
     */
    public static final String TIMER_MODE_UPTIME = "UPTIME";
    /**
     * 计时模式: 无计时
     */
    public static final String TIMER_MODE_NO_TIMER = "NO_TIMER";

    // 目标维度
    /**
     * 目标维度(单位): 完成时长(单位: 秒)
     */
    public static final String GOAL_TARGET_TYPE_DURATION = "DURATION";
    /**
     * 目标维度(单位): 完成次数(单位: 次)
     */
    public static final String GOAL_TARGET_TYPE_TIMES = "TIMES";

    // 默认值
    public static final int DEFAULT_COUNTDOWN_DURATION = 1500; // 25分钟
    public static final int DEFAULT_REST_DURATION = 300; // 5分钟
    public static final int DEFAULT_CYCLE = 1;
    public static final String DEFAULT_GOAL_TARGET_TYPE = GOAL_TARGET_TYPE_DURATION;
    public static final int DEFAULT_GOAL_TARGET_VALUE = 1;
}
